package com.training.java.core.homework02;

import java.util.Scanner;

public class PrintDayOfWeekSwitchCase {

	public static void main(String[] args) {
		
		Scanner input = new Scanner(System.in);
		String dayOfWeek = "";

		System.out.print("Enter a number: ");
		int number = input.nextInt();

		switch (number) {
		case 1:
			dayOfWeek = "Sunday";
			break;
		case 2:
			dayOfWeek = "Monday";
			break;
		case 3:
			dayOfWeek = "Tueday";
			break;
		case 4:
			dayOfWeek = "Wednesday";
			break;
		case 5:
			dayOfWeek = "Thursday";
			break;
		case 6:
			dayOfWeek = "Friday";
			break;
		case 7:
			dayOfWeek = "Saturday";
			break;
		}
		System.out.println(dayOfWeek);
		input.close();
	}

}
